﻿<%@ Page Title="Profil Salg" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="profileDetailsSale.aspx.cs" Inherits="UCNKompetenceBors.User.profileDetailsSale" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="profileWrapper" class="contentSmallWrapper floatLeft">
        <div id="profileMenuWrapper" class="submenuBox floatLeft">
            <div class="subMenuBoxContent">
                <ul>
                    <li>
                        <asp:HyperLink ID="hyLinkProfile" runat="server" Text="Profil"></asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hyLinkSale" runat="server" Text="Mine salg" ForeColor="#FF9933"></asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hyLinkPurchases" runat="server" Text="Mine køb"></asp:HyperLink></li>
                </ul>
            </div>
        </div>

        <div id="profileContentWrapper" class="contentBoxSmall floatLeft">
            <div id="profileContent" class="floatLeft">
                <asp:Label ID="lblHeader" runat="server" Text="Salg" CssClass="contentTitle"></asp:Label>
                <asp:GridView ID="gvProfileDetailsSale" runat="server" AutoGenerateColumns="False" Width="754px" CssClass="gridSpacing" OnRowDataBound="gvProfileDetailsSale_RowDataBound">
                    <HeaderStyle BackColor="#EFEFEF" Height="40px" />
                    <AlternatingRowStyle BackColor="#EFEFEF" />
                    <Columns>
                        <asp:HyperLinkField DataNavigateUrlFields="SaleID" DataNavigateUrlFormatString="~/Exchange/saleDetails.aspx?sid={0}" DataTextField="Title" HeaderText="Titel" ControlStyle-CssClass="link" ItemStyle-Height="40px">
                            <ControlStyle CssClass="link"></ControlStyle>

                            <ItemStyle Height="40px"></ItemStyle>
                        </asp:HyperLinkField>
                        <asp:TemplateField HeaderText="Kategori">
                            <ItemTemplate>
                                <asp:Label ID="lblCategory" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="CreatedDate" DataFormatString="{0:dd-MM-yyyy}" HeaderText="Oprettelses Dato" />
                        <asp:TemplateField HeaderText="Status">
                            <ItemTemplate>
                                <asp:Label ID="lblStatus" runat="server" Text='<%# Eval("IsActive") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </div>
</asp:Content>
